package com.java.zhuiyun.api.classic_course.controller;

import com.java.zhuiyun.api.recommendedCourse.service.RecommendedCourseService;
import com.java.zhuiyun.common.response.CommonResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName ClassicCourseController
 * @Description TODO PC精品课
 * @Author WX
 * @Date 2023/8/21 16:42
 **/
@RestController
@RequestMapping("/clsaaicCourse")

@CrossOrigin
public class ClassicCourseController {
    @Autowired
    private RecommendedCourseService recommendedCourseService;

    /*
     * @Author WX
     * @Description PC精品课
     * @Date 2023/8/21 16:07
     * @Return
     * @param null
     */
    @RequestMapping("/randonClsaaicFour")
    public CommonResult randonClsaaicFour() {
        return CommonResult.ok(recommendedCourseService.randonClsaaicFour());
    }
}
